package ee.ts022.tuum.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import ee.ts022.tuum.domain.ContractStatusType;


@Repository
public class ContractStatusTypeDaoImpl extends DomainDao implements ContractStatusTypeDao {

	public ContractStatusTypeDaoImpl() {
		super(ContractStatusType.class);
	}

	@Override
	public List<ContractStatusType> getAll() {
		return super.getAllDomain();
	}

	@Override
	public ContractStatusType get(int id) {
		return super.getDomain(id);
	}

	@Override
	public boolean save(ContractStatusType contractStatusType) {
		return super.saveDomain(contractStatusType);
	}

	@Override
	public boolean insert(ContractStatusType domain) {
		return super.insertDomain(domain);
	}

	@Override
	public boolean delete(ContractStatusType domain) {
		return super.deleteDomain(domain);
	}

}
